package com.zhujiekaifa.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;


//标志该类是spring的核心配置类 相当于xml配置文件 这里用java类代替xml
@Configuration
//<context:component-scan base-package="com.zhujiekaifa"/>配置组件扫描
@ComponentScan("com.zhujiekaifa")
//<import resource=""/>
@Import(DataSourceConfigURation.class)
public class SpringConfigRation {
    /**
     * spring的核心配置类 相当于xml配置文件 这里用java类代替xml
     */


}
